f312ecd142cb1c73e0cc08d7347db256673300f3,1.7.10/src/main/java/net/geforcemods/securitycraft/tileentity/TileEntityFrame.java,TileEntityFrame,readFromNBT,#NBTTagCompound#,35

Before Change


		if(par1NBTTagCompound.hasKey("cameraLoc")){
			this.boundCameraLocation[0] = Integer.parseInt(par1NBTTagCompound.getString("cameraLoc").split(" ")[0]);
			this.boundCameraLocation[1] = Integer.parseInt(par1NBTTagCompound.getString("cameraLoc").split(" ")[1]);
			this.boundCameraLocation[2] = Integer.parseInt(par1NBTTagCompound.getString("cameraLoc").split(" ")[2]);
		}   
	}

After Change


		super.readFromNBT(par1NBTTagCompound);

		if(par1NBTTagCompound.hasKey("cameraLoc")){
			String[] coords = par1NBTTagCompound.getString("cameraLoc").split(" ");
			
			setCameraLocation(Integer.parseInt(coords[0]), Integer.parseInt(coords[1]), Integer.parseInt(coords[2]), coords.length == 4 ? Integer.parseInt(coords[3]) : 0);
		}   
	}